package lesson.myinput;

import java.io.*;

public class MyInputDemo5 {
    public static void main(String[] args) throws IOException {
        BufferedInputStream bis = new BufferedInputStream(new FileInputStream("Day11\\src\\homework\\test8\\b.txt"));
        BufferedOutputStream bos = new BufferedOutputStream(new FileOutputStream("Day12\\src\\lesson\\myinput\\b.txt"));

        byte [] b = new byte[1024];
        int len;
        while ((len = bis.read(b)) != -1){
            bos.write(b,0,len);
        }
        bis.close();
        bos.close();
    }
}
